using Identity.Domain.Aggregates;

namespace Identity.Application.Permissions.Interfaces;

public interface IPermissionsRepository
{
    Task AddAsync(Permission permission);

    Task DeleteAsync(Permission permission);

    Task<Permission?> GetPermissionByIdAsync(Guid Id);

    Task<bool> IsBindingApi(Guid Id);
}